package com.jy.modules.cims.data.interact.tbj.loan.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @description 铜板街债权匹配的信息Request。
 * @author shengzhoutao
 * @date 2015-09-07
 */
public class RequestTradeDebtorDTO {

	@NotBlank(message = "产品ID productId不能为空")
	@Size(min = 1, max = 50, message = "产品ID productId长度必须在1-50之间")
	private String productId;

	@Size(min = 0, max = 200, message = "附件地址 filePath长度必须在0-200之间")
	private String fileUrl;

	/** 借款信息审批编号 */
	@NotNull(message = "借款信息审批编号loan不能为空")
	private String[] loan;

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}

	public String[] getLoan() {
		return loan;
	}

	public void setLoan(String[] loan) {
		this.loan = loan;
	}
	
}
